<template>
  <div class="auth-layout">
    <div class="auth-container">
      <div class="auth-header">
        <h1>待办事项管理系统</h1>
      </div>
      <router-view />
    </div>
  </div>
</template>

<style scoped>
.auth-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f5f7fa;
}

.auth-container {
  width: 100%;
  max-width: 400px;
  padding: 2rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h1 {
  color: #409eff;
  font-size: 1.8rem;
}

@media (max-width: 480px) {
  .auth-container {
    max-width: 90%;
    padding: 1.5rem;
  }
}
</style>